package com.foxchen.offline.task.dto;


import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import javax.validation.constraints.NotBlank;

@Getter
@Setter
@ToString
public class TaskInfoDto {

    @NotBlank(message = "任务名称不能为空")
    private String name;

    private String id;

    @NotBlank(message = "任务类型不能为空")
    private String type;

    private String fileName;

    private String fileSuffix = ".xlsx";

    private String module;

    @NotBlank(message = "任务参数不能为空")
    private String taskParam;
}
